﻿2026-06-21T22:33:15.4409974Z ##[group]Run cargo nextest run --workspace --no-fail-fast -E '(package(spt-daemon) & kind(test) & binary(/^(attach|brain_swap|broker|budget|daemon_e2e|daemon_lifecycle_real_brain|digest|dispatch|driven_by_selfheal|handoff|idempotent|inject_control_wedge|input_ack_deadlock|resume|shellchan|two_origin_spanning|twohost)$/)) | (package(spt) & kind(test) & binary(/^(attach_wedge_e2e|bind_cwd_project_e2e|brain_respawn_rename|brain_restart_psyche_dup_e2e|brain_split|brain_survive|dummy_harness_e2e|gateway_owner_shell_e2e|job_escape_e2e|livehost_bootgate_e2e|livehost_bootrace_e2e|livehost_nonresident_e2e|livehost_psyche_fail_e2e|n1_pairing|oneliner_e2e|resume_template_e2e|unhost_psyche_reap_e2e)$/)) | (package(spt-term) & kind(test))'
2026-06-21T22:33:15.4413094Z [36;1mcargo nextest run --workspace --no-fail-fast -E '(package(spt-daemon) & kind(test) & binary(/^(attach|brain_swap|broker|budget|daemon_e2e|daemon_lifecycle_real_brain|digest|dispatch|driven_by_selfheal|handoff|idempotent|inject_control_wedge|input_ack_deadlock|resume|shellchan|two_origin_spanning|twohost)$/)) | (package(spt) & kind(test) & binary(/^(attach_wedge_e2e|bind_cwd_project_e2e|brain_respawn_rename|brain_restart_psyche_dup_e2e|brain_split|brain_survive|dummy_harness_e2e|gateway_owner_shell_e2e|job_escape_e2e|livehost_bootgate_e2e|livehost_bootrace_e2e|livehost_nonresident_e2e|livehost_psyche_fail_e2e|n1_pairing|oneliner_e2e|resume_template_e2e|unhost_psyche_reap_e2e)$/)) | (package(spt-term) & kind(test))'[0m
2026-06-21T22:33:15.4487744Z shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
2026-06-21T22:33:15.4487961Z env:
2026-06-21T22:33:15.4488082Z   SPT_REGISTRY_BUSY_TIMEOUT_MS: 30000
2026-06-21T22:33:15.4488234Z ##[endgroup]
2026-06-21T22:33:18.3817516Z     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.56s
2026-06-21T22:33:34.7237417Z ────────────
2026-06-21T22:33:34.7237758Z  Nextest run ID 38f69a82-2596-416f-8705-70ffdfd7fcfe with nextest profile: default
2026-06-21T22:33:34.7238090Z     Starting 91 tests across 39 binaries (48 binaries skipped)
2026-06-21T22:33:41.6292433Z         PASS [   6.905s] ( 1/91) spt::attach_wedge_e2e attach_wedge_dead_child_plus_dropped_pump_does_not_wedge_the_broker
2026-06-21T22:33:43.5431309Z         PASS [   1.914s] ( 2/91) spt::bind_cwd_project_e2e endpoint_run_records_cwd_and_appears_under_its_project
2026-06-21T22:33:57.8824674Z         PASS [  14.339s] ( 3/91) spt::brain_respawn_rename brain_respawns_onto_applied_bytes_after_in_place_rename
2026-06-21T22:34:11.4484356Z         PASS [  13.566s] ( 4/91) spt::brain_restart_psyche_dup_e2e brain_restart_leaves_exactly_one_psyche_per_endpoint
2026-06-21T22:34:18.6068419Z         PASS [   7.158s] ( 5/91) spt::brain_split broker_survives_brain_kill_and_respawns_it
2026-06-21T22:34:25.9011022Z         PASS [   7.294s] ( 6/91) spt::brain_split seed_anchor_survives_brain_cycle
2026-06-21T22:34:34.4867058Z         PASS [   8.585s] ( 7/91) spt::brain_survive pty_and_quic_survive_brain_process_restart_onto_swapped_binary
2026-06-21T22:34:41.9852990Z         PASS [   7.499s] ( 8/91) spt::dummy_harness_e2e endpoint_run_attach_awaits_online_before_attaching
2026-06-21T22:34:46.3028949Z         PASS [   4.318s] ( 9/91) spt::dummy_harness_e2e endpoint_run_brings_up_a_long_lived_dummy_harness_and_rc_attaches
2026-06-21T22:34:46.9486186Z         PASS [   0.646s] (10/91) spt::gateway_owner_shell_e2e gateway_typed_owner_owns_a_shell_on_every_path_keyed_on_id
2026-06-21T22:34:50.8512762Z         PASS [   3.903s] (11/91) spt::job_escape_e2e win::cold_start_daemon_escapes_kill_on_close_job_via_wmi
2026-06-21T22:34:53.5693727Z         PASS [   2.718s] (12/91) spt::job_escape_e2e win::wmi_daemon_run_has_no_conhost_window
2026-06-21T22:35:03.1010074Z         PASS [   9.532s] (13/91) spt::livehost_bootgate_e2e cold_start_does_not_revive_a_sessionless_online_latched_perch
2026-06-21T22:35:24.0190742Z         PASS [  20.918s] (14/91) spt::livehost_bootrace_e2e netless_online_live_agent_is_hosted_by_the_real_daemon_brain
2026-06-21T22:35:36.7041986Z         PASS [  12.685s] (15/91) spt::livehost_nonresident_e2e online_live_agent_with_fast_exiting_psyche_stamps_parent_and_clears_phantom
2026-06-21T22:35:43.8758901Z         PASS [   7.172s] (16/91) spt::livehost_psyche_fail_e2e online_live_agent_with_missing_psyche_binary_stamps_a_harness_reachable_error
2026-06-21T22:35:43.8881940Z         PASS [   0.012s] (17/91) spt::n1_pairing new_brain_serves_against_old_broker
2026-06-21T22:35:43.9115763Z         PASS [   0.023s] (18/91) spt::oneliner_e2e at_logon_task_launches_daemon_in_background_not_foreground
2026-06-21T22:35:43.9176752Z         PASS [   0.006s] (19/91) spt::oneliner_e2e install_script_against_staged_release
2026-06-21T22:35:50.9998170Z         PASS [   7.082s] (20/91) spt::resume_template_e2e endpoint_run_resume_selects_resume_template_in_recorded_cwd
2026-06-21T22:36:04.1014892Z         PASS [  13.102s] (21/91) spt::unhost_psyche_reap_e2e endpoint_stop_reaps_the_hosted_psyche_process
2026-06-21T22:36:04.2602328Z         PASS [   0.159s] (22/91) spt-daemon::attach attach_registers_remote_drive_detection
2026-06-21T22:36:04.4222168Z         PASS [   0.162s] (23/91) spt-daemon::attach attach_survives_target_brain_restart_exactly_once
2026-06-21T22:36:04.4950491Z         PASS [   0.073s] (24/91) spt-daemon::attach broker_spawns_the_pty_child_in_the_requested_cwd
2026-06-21T22:36:04.5733324Z         PASS [   0.078s] (25/91) spt-daemon::attach controller_restart_with_viewer_no_displace_and_viewer_survives
2026-06-21T22:36:04.6333149Z         PASS [   0.060s] (26/91) spt-daemon::attach controller_viewer_matrix_and_loud_take
2026-06-21T22:36:04.6573333Z         PASS [   0.024s] (27/91) spt-daemon::attach handoff_seeds_resume_cursor_and_resubscribes_for_resume
2026-06-21T22:36:04.7241343Z         PASS [   0.067s] (28/91) spt-daemon::attach local_attach_via_loopback_conn_rides_the_same_pump
2026-06-21T22:36:04.8121257Z         PASS [   0.088s] (29/91) spt-daemon::attach loopback_attach_to_a_prepopulated_ring_delivers_without_deadlock
2026-06-21T22:36:04.8673181Z         PASS [   0.055s] (30/91) spt-daemon::attach loopback_self_dial_is_refused_local_uses_fallback_transport
2026-06-21T22:36:04.8941856Z         PASS [   0.027s] (31/91) spt-daemon::attach re_serve_resets_resume_cursor_after_a_pre_attached_consume
2026-06-21T22:36:05.0324825Z         PASS [   0.138s] (32/91) spt-daemon::attach remote_attach_drives_a_real_pty_cross_daemon
2026-06-21T22:36:05.0836091Z         PASS [   0.051s] (33/91) spt-daemon::attach resize_is_controller_exclusive
2026-06-21T22:36:05.1694459Z         PASS [   0.086s] (34/91) spt-daemon::attach same_origin_re_subscribe_does_not_displace
2026-06-21T22:36:05.3015181Z         PASS [   0.132s] (35/91) spt-daemon::attach spt_hosted_bringup_then_cross_node_attach_drives_the_pty
2026-06-21T22:36:07.6966051Z         PASS [   2.395s] (36/91) spt-daemon::attach wedged_viewer_does_not_stall_controller
2026-06-21T22:36:07.7383695Z         PASS [   0.042s] (37/91) spt-daemon::brain_swap brain_only_update_swaps_logic_with_zero_endpoint_interruption
2026-06-21T22:36:07.7732602Z         PASS [   0.035s] (38/91) spt-daemon::broker ack_false_input_suppresses_applied_frame
2026-06-21T22:36:07.8049508Z         PASS [   0.032s] (39/91) spt-daemon::broker broker_hosts_pty_child_streams_output_and_accepts_input
2026-06-21T22:36:07.8677567Z         PASS [   0.063s] (40/91) spt-daemon::broker controller_writer_reorder_consumer_view_stays_monotonic_and_session_live
2026-06-21T22:36:07.9029460Z         PASS [   0.035s] (41/91) spt-daemon::broker dead_session_subscribe_does_not_hang
2026-06-21T22:36:07.9347324Z         PASS [   0.032s] (42/91) spt-daemon::broker endpoint_keyed_inject_reaches_hosted_pty
2026-06-21T22:36:08.0746401Z         PASS [   0.140s] (43/91) spt-daemon::broker exactly_once_preserved_on_no_ack_path
2026-06-21T22:36:08.1146299Z         PASS [   0.040s] (44/91) spt-daemon::broker spawn_env_reaches_child
2026-06-21T22:36:08.1783963Z         PASS [   0.064s] (45/91) spt-daemon::broker wall_b_endpoint_run_env_then_send_reaches_pty
2026-06-21T22:36:08.1867068Z         PASS [   0.008s] (46/91) spt-daemon::budget measure_dormant_seat_budget
2026-06-21T22:36:10.8508994Z         PASS [   2.664s] (47/91) spt-daemon::daemon_e2e daemon_hosts_lifecycle_and_survives_brain_restart
2026-06-21T22:36:17.1717580Z         PASS [   6.321s] (48/91) spt-daemon::daemon_lifecycle_real_brain real_brain_process_hosts_the_psyche_for_an_online_live_endpoint
2026-06-21T22:36:17.4011825Z         PASS [   0.229s] (49/91) spt-daemon::digest harness_hosted_digest_projects_and_pushes_deltas
2026-06-21T22:36:17.4124262Z         PASS [   0.011s] (50/91) spt-daemon::dispatch classify_routes_a_node_label_feed_to_registry
2026-06-21T22:36:17.5839211Z         PASS [   0.171s] (51/91) spt-daemon::dispatch dispatcher_applies_a_notif_feed_undriven
2026-06-21T22:36:17.8328625Z         PASS [   0.249s] (52/91) spt-daemon::dispatch dispatcher_funnels_wan_messages_undriven
2026-06-21T22:36:18.5949070Z         PASS [   0.762s] (53/91) spt-daemon::dispatch dispatcher_serves_a_cross_node_shell_link
2026-06-21T22:36:18.7279830Z         PASS [   0.133s] (54/91) spt-daemon::dispatch dispatcher_serves_a_file_fetch_undriven
2026-06-21T22:36:18.8991999Z         PASS [   0.171s] (55/91) spt-daemon::dispatch dispatcher_serves_a_remote_drive_attach_undriven
2026-06-21T22:36:19.0925873Z         PASS [   0.193s] (56/91) spt-daemon::dispatch dispatcher_serves_a_subnet_serve_probe
2026-06-21T22:36:20.3812885Z         PASS [   1.289s] (57/91) spt-daemon::dispatch dispatcher_serves_a_sync_pull_undriven
2026-06-21T22:36:20.5159475Z         PASS [   0.135s] (58/91) spt-daemon::dispatch dispatcher_serves_an_update_pull_undriven
2026-06-21T22:36:20.8006646Z         PASS [   0.285s] (59/91) spt-daemon::dispatch dispatcher_surfaces_a_remote_won_notif_at_the_winning_node
2026-06-21T22:36:21.0028606Z         PASS [   0.202s] (60/91) spt-daemon::dispatch dispatcher_survives_an_unknown_stream
2026-06-21T22:36:21.5038987Z         PASS [   0.501s] (61/91) spt-daemon::driven_by_selfheal gap_a_live_session_controller_by_is_ambiguous_so_reconcile_must_not_clear
2026-06-21T22:36:21.5383909Z         PASS [   0.034s] (62/91) spt-daemon::driven_by_selfheal gap_b_sessionless_perch_reconcile_offlines_and_clears_driven_by
2026-06-21T22:36:21.7536475Z         PASS [   0.215s] (63/91) spt-daemon::handoff brain_restart_survives_gaplessly_with_fresh_gen_start
2026-06-21T22:36:21.7995556Z         PASS [   0.046s] (64/91) spt-daemon::idempotent pty_writes_are_exactly_once_across_brain_crashes
2026-06-21T22:36:24.9991505Z         PASS [   3.200s] (65/91) spt-daemon::inject_control_wedge a_backed_up_controller_does_not_wedge_the_session
2026-06-21T22:36:27.9947837Z         PASS [   2.996s] (66/91) spt-daemon::inject_control_wedge a_journaled_input_wedge_does_not_starve_a_concurrent_rc_attach
2026-06-21T22:36:40.4512929Z         PASS [  12.456s] (67/91) spt-daemon::inject_control_wedge g1_choreography_happy_path_payload_reaches_pty_and_controller_keeps_control
2026-06-21T22:36:41.0899412Z         PASS [   0.639s] (68/91) spt-daemon::inject_control_wedge g2_no_commit_deadline_faults_binary_and_does_not_wedge_controller_input
2026-06-21T22:36:41.8485161Z         PASS [   0.759s] (69/91) spt-daemon::inject_control_wedge g3_content_free_ping_never_duplicates_operator_keystrokes_into_binary
2026-06-21T22:36:42.4571994Z         PASS [   0.609s] (70/91) spt-daemon::inject_control_wedge g4_translation_child_is_reaped_no_zombie_after_session_down
2026-06-21T22:36:42.9123470Z         PASS [   0.455s] (71/91) spt-daemon::inject_control_wedge injecting_a_large_payload_into_a_stdin_ignoring_child
2026-06-21T22:36:53.1405335Z         PASS [  10.228s] (72/91) spt-daemon::inject_control_wedge p0_paste_wedge_parked_write_does_not_starve_attach_or_wedge_broker
2026-06-21T22:36:53.6635924Z         PASS [   0.523s] (73/91) spt-daemon::inject_control_wedge w5_a1_locally_driven_session_reports_controller_by_none
2026-06-21T22:36:57.8912030Z         FAIL [   4.227s] (74/91) spt-daemon::inject_control_wedge w5_a2_abandoned_remote_controller_idle_session_keeps_controller_by_some
2026-06-21T22:36:57.8913285Z   stdout ───
2026-06-21T22:36:57.8913374Z 
2026-06-21T22:36:57.8913426Z     running 1 test
2026-06-21T22:36:57.8913702Z     test w5_a2_abandoned_remote_controller_idle_session_keeps_controller_by_some ... FAILED
2026-06-21T22:36:57.8913929Z 
2026-06-21T22:36:57.8913972Z     failures:
2026-06-21T22:36:57.8914077Z 
2026-06-21T22:36:57.8914143Z     failures:
2026-06-21T22:36:57.8914426Z         w5_a2_abandoned_remote_controller_idle_session_keeps_controller_by_some
2026-06-21T22:36:57.8914721Z 
2026-06-21T22:36:57.8914886Z     test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 9 filtered out; finished in 4.21s
2026-06-21T22:36:57.8915101Z 
2026-06-21T22:36:57.8915178Z   stderr ───
2026-06-21T22:36:57.8915319Z     PUMP_IPC_READER: spawned
2026-06-21T22:36:57.8915466Z     PUMP_IPC_READER: spawned
2026-06-21T22:36:57.8915663Z     PUMP_IPC_READER: spawned
2026-06-21T22:36:57.8916700Z     === W5 A2 CHARACTERIZATION: subscribed=true driven_after_attach=Some("f0fa1192e9a5834ef3aee9399204e4a2a0ec5550c4017f86b656a2943aa02213") cby_attached=Some(Some("f0fa1192e9a5834ef3aee9399204e4a2a0ec5550c4017f86b656a2943aa02213")) session_still_listed=true cby_after_abandon=Some(None) driven_after_abandon=None ===
2026-06-21T22:36:57.8919822Z     === W5 A2 VERDICT: controller_by==None sufficient for Gap A? true (false ⇒ wedged slot stays Some(origin) ⇒ the lost-detach fix must be broker-side eviction — a reconcile `controller_by==None` check alone does NOT catch this; it only catches A1 / Gap B) ===
2026-06-21T22:36:57.8920814Z 
2026-06-21T22:36:57.8921348Z     thread 'w5_a2_abandoned_remote_controller_idle_session_keeps_controller_by_some' (80200) panicked at crates\spt-daemon\tests\inject_control_wedge.rs:1671:9:
2026-06-21T22:36:57.8923341Z     A2: an abandoned remote controller on an IDLE session must STILL read controller_by == Some(origin) (the slot does not self-clear without output-drain-evict or a clean EOF) — proving controller_by==None is NOT a sufficient Gap-A signal for the production wedged-pump case; the lost-detach clear must be broker-side eviction. Got: Some(None)
2026-06-21T22:36:57.8924872Z     note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2026-06-21T22:36:57.8925215Z 
2026-06-21T22:37:29.8981261Z         PASS [  32.007s] (75/91) spt-daemon::input_ack_deadlock input_flood_through_serve_attach_does_not_deadlock_broker
2026-06-21T22:37:32.3186635Z         PASS [   2.420s] (76/91) spt-daemon::resume cold_start_resumes_all_sessions_from_the_broker_cursor
2026-06-21T22:37:36.6970491Z         PASS [   4.378s] (77/91) spt-daemon::resume resume_below_ring_floor_clamps_forward_without_gap_error
2026-06-21T22:37:37.9821031Z         PASS [   1.285s] (78/91) spt-daemon::resume resume_mode_brain_spawning_new_sessions_delivers_each
2026-06-21T22:37:38.2352344Z         PASS [   0.253s] (79/91) spt-daemon::shellchan hung_shell_stalls_no_other_owner
2026-06-21T22:37:38.3973997Z         PASS [   0.162s] (80/91) spt-daemon::shellchan stdin_receipt_delivers_spooled_frames_exactly_once
2026-06-21T22:37:38.5418898Z         PASS [   0.144s] (81/91) spt-daemon::two_origin_spanning one_source_two_consumers_spans_and_merges
2026-06-21T22:37:38.5524632Z         PASS [   0.011s] (82/91) spt-daemon::twohost two_host_ladder_role_a
2026-06-21T22:37:38.5612002Z         PASS [   0.009s] (83/91) spt-daemon::twohost two_host_ladder_role_b
2026-06-21T22:37:38.5911017Z         PASS [   0.030s] (84/91) spt-term::dsr conpty_output_not_withheld_under_the_drain
2026-06-21T22:37:38.6264494Z         PASS [   0.035s] (85/91) spt-term::dsr drain_forwards_child_output
2026-06-21T22:37:38.6648230Z         PASS [   0.038s] (86/91) spt-term::inject ctrl_c_interrupts_the_child
2026-06-21T22:37:38.7013333Z         PASS [   0.036s] (87/91) spt-term::inject send_line_reaches_child_and_preserves_order
2026-06-21T22:37:39.7264867Z         PASS [   1.025s] (88/91) spt-term::stream bounded_backpressure_stalls_an_unconsumed_reader
2026-06-21T22:37:39.7555566Z         PASS [   0.029s] (89/91) spt-term::stream delivers_every_value_under_resize
2026-06-21T22:37:39.7742733Z         PASS [   0.019s] (90/91) spt-term::surface resize_under_load_does_not_hang_or_panic
2026-06-21T22:37:39.7935478Z         PASS [   0.019s] (91/91) spt-term::winspawn pty_spawns_a_cmd_script_via_cmd_wrap
2026-06-21T22:37:39.7935984Z ────────────
2026-06-21T22:37:39.7936238Z      Summary [ 245.070s] 91 tests run: 90 passed, 1 failed, 0 skipped
2026-06-21T22:37:39.7936792Z         FAIL [   4.227s] (74/91) spt-daemon::inject_control_wedge w5_a2_abandoned_remote_controller_idle_session_keeps_controller_by_some
2026-06-21T22:37:39.7966492Z error: test run failed
2026-06-21T22:37:39.8610200Z ##[error]Process completed with exit code 1.
